package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisCarCount;
import cn.gzjp.modules.logis.dao.LogisCarCountDao;

/**
 * 附近车辆数量Service
 * @author zengcp
 * @version 2018-05-27
 */
@Service
@Transactional(readOnly = true)
public class LogisCarCountService extends CrudService<LogisCarCountDao, LogisCarCount> {

	public LogisCarCount get(String id) {
		return super.get(id);
	}
	
	public List<LogisCarCount> findList(LogisCarCount logisCarCount) {
		return super.findList(logisCarCount);
	}
	
	public Page<LogisCarCount> findPage(Page<LogisCarCount> page, LogisCarCount logisCarCount) {
		return super.findPage(page, logisCarCount);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisCarCount logisCarCount) {
		super.save(logisCarCount);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisCarCount logisCarCount) {
		super.deleteByLogic(logisCarCount);
	}
	
}